﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SAreaManagerAgentAdd.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.FXModel.SAreaManagerAgentAdd" %>
<div class="pageContent">
	<form method="post" action="FXModel/SAreaManagerAgentAdd.aspx?ajaxmethod=add" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="56">
          <input type="hidden" name="UserId" value="<%=UserId %>" />
			 <p>
                <label>
                    经销商：</label>
                <input type="text" name="dwz.orgLookup.AgentName" class="required textInput autocomplete" alt="" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getagentlist" mustMatch="false" swidth="300" showinputid="" />
                <a class="btnLook" href="SAPAgentListLookUp.aspx?target=dialog&rel=SAreaManagerAgentAdd" lookupgroup="orgLookup"
                    maxable="false" width="600" resizable="false" title="经销商列表">
                    <hi:text key="查找带回" />
                </a>
            </p>
            <div style=" clear:both;"></div>
            <p>
                <label>是否是直接管辖：</label>
                <input type="checkbox" name="IsPrincipal" value="true" checked />
                <span>为区域经理分配时,请打钩.如果是为部门经理分配去下属区域经理的经销商时,不打钩</span>
            </p>
           
        </div>
		<div class="formBar">
			<ul>
				
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>